package backend.project.gym_management.pojo.dto;

import lombok.Data;

import java.util.List;

@Data
public class AdminBatchDeleteParam {
    private String tableName;
    private List<Integer> ids;
    private List<EnrollmentPair> pairs; // 新增字段：存储 cid + uid 组合

    public static class EnrollmentPair {
        private Integer cid;
        private Integer uid;

        public EnrollmentPair() {}

        public EnrollmentPair(Integer cid, Integer uid) {
            this.cid = cid;
            this.uid = uid;
        }
        public Integer getCid() {
            return cid;
        }

        public void setCid(Integer cid) {
            this.cid = cid;
        }

        public Integer getUid() {
            return uid;
        }

        public void setUid(Integer uid) {
            this.uid = uid;
        }
    }
}
